#ifndef HDRIMAGEREADER_H
#define HDRIMAGEREADER_H

#include "vtkDataSet.h"
#include "vtkPolyData.h"
#include "itkConfigure.h"
#include "itkAnalyzeImageIO.h"
#include "itkImageFileReader.h"
#include "itkImageToVTKImageFilter.h"
#include "itkImage.h"
#include "vtkThreshold.h" 
#include "vtkUnstructuredGrid.h" 
#include "vtkImageCast.h"

class hdrImageReader
{
private:
        //vtkDataSet *lastData;

	static const unsigned int Dimension  =  3;
	typedef unsigned short PixelType;
    
	typedef itk::Image< PixelType, Dimension >      ImageType;
        typedef itk::ImageFileReader< ImageType >	ReaderType;

	typedef itk::ImageToVTKImageFilter< ImageType > ImageToVTKType;

public:
        static void loadDataSetFromFile(std::string file, vtkDataSet **data);
};

#endif //HDRIMAGEREADER
